Fill in blocklist from submit/url (bug 15611)
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 22 Sep 2008 20:38:39 +0000 (20:38 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 22 Sep 2008 20:38:39 +0000 (20:38 +0000)
includes/specials/SpecialBlockip.php

index 422d804..705c6d3 100644 (file)
@@ -108,7 +108,7 @@ class IPBlockForm {
 
                $reasonDropDown = Xml::listDropDown( 'wpBlockReasonList',
                        wfMsgForContent( 'ipbreason-dropdown' ),
-                       wfMsgForContent( 'ipbreasonotherlist' ), '', 'wpBlockDropDown', 4 );
+                       wfMsgForContent( 'ipbreasonotherlist' ), $this->BlockReasonList, 'wpBlockDropDown', 4 );
 
                global $wgStylePath, $wgStyleVersion;
                $wgOut->addHTML(